package com.smart.auth.service;

import com.smart.auth.entity.Member;
import com.smart.common.vo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "smart-member", path = "/member")
public interface MemberService {

    @PostMapping("/info")
    ResponseResult<Member> getUserInfo(@RequestParam String username);
}
